package com.qczl.model;

import java.io.Serializable;

/**
 * springmvc 数据返回
 * @author SongR
 *
 */
public class Json implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Object result=null;//返回结果
	
	private Integer state=200;//接口状态码
	
	private boolean success=true;//接口状态true/false
	
	private String msg = null;
	
	private Long length=null;//返回记录数
	
	private Long size=null;//总数

	public Object getResult() {
		return result;
	}

	public void setResult(Object result) {
		this.result = result;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public Long getLength() {
		return length;
	}

	public void setLength(Long length) {
		this.length = length;
	}

	public Long getSize() {
		return size;
	}

	public void setSize(Long size) {
		this.size = size;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
	
}
